package com.mmd.admin.model.pojo.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import java.util.Date;
import java.util.List;

@Getter
@Setter
@Builder
@ApiModel("管理员信息")
public class AdminVO {

    @ApiModelProperty("唯一主键id")
    private Long id;

    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "管理员名称")
    private String name;

    @ApiModelProperty(value = "管理员账号")
    private String username;

    @ApiModelProperty("当前数据 备注系统级字段 非业务逻辑字段")
    private String remark = "系统生成";

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("拥有权限")
    private List<RuleVO> rules;
}
